package com.itajk.mapper;

import com.itajk.bean.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    /*登录的方法*/
    @Select("select * from users where username = #{username} and password = #{password}")
    public abstract List<User> login(User user);
}
